package com.firemoss.magicbus.messaging.fillter
{
	import com.firemoss.magicbus.filter.IFilter;

	public class FaultFilterChain extends AbstractFilterChain
	{
		public function FaultFilterChain( filters : Array = null )
		{
			super( filters );
		}

		override public function execute( ...rest ) : *
		{
			for each ( var filter : FaultFilter in filterList )
			{
				filter.fault( rest[ 0 ] )
			}
			
			return rest
		}
	
	}
}